package com.alex.core.contants.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 是否在线枚举
 * @author cb
 * @date 2019/10/22 15:57
 */
@Getter
@AllArgsConstructor
public enum OnlineEnum {
    // 设备状态,1:在线,2:离线
    ONLINE(1, "在线"),
    OFFLINE(2, "离线"),
    ;
    private final Integer code;
    private final String value;

}
